package com.wk.pojo;

import java.util.Date;

/**
 * @program: thesis
 * @description: 用户的pojo类
 * @author: 王侃
 * @create: 2020-02-13 16:58
 **/
public class User {
    private Integer id;
    private String username;
    private String password;
    private Date birth;
    private String email;
    private Integer status;
    private String role;
    private Integer score;
    private Integer class_id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getClass_id() {
        return class_id;
    }

    public void setClass_id(Integer class_id) {
        this.class_id = class_id;
    }

    public User(Integer id, String username, String password, Date birth, String email, Integer status, String role, Integer score, Integer class_id) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.birth = birth;
        this.email = email;
        this.status = status;
        this.role = role;
        this.score = score;
        this.class_id = class_id;
    }

    public User() {
    }
}
